<?php

require_once('AnalyzeStrategyInterface.php');

class SmallLettersAnalyzeStrategy implements AnalyzeStrategyInterface {

    /**
     *
     * @param string $string
     * @return int 
     */
    public function analyze($string) {
        return preg_match_all('/[a-z]/', $string, $match);
    }

}